package com.video.myvideo.custom;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;

import com.video.myvideo.R;

import cn.jzvd.JzvdStd;

public class MyJzvdStdNoTitleNoClarity extends JzvdStd {

    private ImageView imgBack;

    public MyJzvdStdNoTitleNoClarity(Context context) {
        super(context);
    }

    public MyJzvdStdNoTitleNoClarity(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public int getLayoutId() {
        return R.layout.layout_jzstd_notitle;
    }

    @Override
    public void init(Context context) {
        super.init(context);
        imgBack = findViewById(R.id.back);
    }

    @Override
    public void onClick(View v) {
        super.onClick(v);
        switch(v.getId()){
            case R.id.back:
                backPress();
                break;

            default:

                break;
        }
    }
}
